# coding: utf-8
from pycode import render_to
from pycode.content.models import Article

@render_to("articles/list.html")
def articles_list(request):
	return { "articles": Article.all().filter("is_news =", False).order("-created") }

@render_to("articles/show.html")
def article_show(request, key):
	return { "article": Article.get(key) }
